package com.erli.exchange.common.sg.config;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "template")
public class TemplateInfo {
	
	@XmlAttribute
	private String comment;

	@XmlAttribute(name = "package")
	private String packageTemplate;

	@XmlAttribute(name = "import")
	private String importTempalte;
	
	@XmlAttribute
	private String field;

	@XmlAttribute
	private String fileStart;

	@XmlAttribute
	private String fileEnd;
	
	@XmlAttribute
	private String modelApiModuleAnnotation;
	
	@XmlAttribute
	private String modelJsonFormatAnnotation;
	
	@XmlAttribute
	private String entityColumnAnnotation;
	
	@XmlAttribute
	private String entityTableAnnotation;
	
	@XmlAttribute
	private String entityInnerEnum;
	
	@XmlAttribute
	private String daoImplTemplate;
	
	@XmlAttribute
	private String serviceImplTemplate;

	@XmlTransient
	public String getComment() {
		return comment;
	}

	@XmlTransient
	public String getPackageTemplate() {
		return packageTemplate;
	}

	@XmlTransient
	public String getImportTempalte() {
		return importTempalte;
	}
	@XmlTransient
	public String getField() {
		return field;
	}

	@XmlTransient
	public String getFileStart() {
		return fileStart;
	}

	@XmlTransient
	public String getFileEnd() {
		return fileEnd;
	}
	
	@XmlTransient
	public String getModelJsonFormatAnnotation() {
		return modelJsonFormatAnnotation;
	}
	
	@XmlTransient
	public String getModelApiModuleAnnotation() {
		return modelApiModuleAnnotation;
	}

	@XmlTransient
	public String getEntityColumnAnnotation() {
		return entityColumnAnnotation;
	}

	@XmlTransient
	public String getEntityTableAnnotation() {
		return entityTableAnnotation;
	}

	@XmlTransient
	public String getEntityInnerEnum() {
		return entityInnerEnum;
	}

	@XmlTransient
	public String getDaoImplTemplate() {
		return daoImplTemplate;
	}

	@XmlTransient
	public String getServiceImplTemplate() {
		return serviceImplTemplate;
	}
    
}
